<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!-- 会员管页面页面 -->

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<link href="${pageContext.request.contextPath}/pages/admin/css/main.css"
	rel="stylesheet" type="text/css" />
</head>
<body>
	<div class="mtitle">
		<h1>
			<s:property value="%{getText('user.manager')}" />
		</h1>
		<!-- 
  <span> 跳转:
    <select class="fs_12" name="123">
      <option>所有频道</option>
    </select>
  </span>
   -->
	</div>
	<div class="tform">
		<!-- 操作按钮位置 -->
		<s:url action="%{actionName}!list" namespace="%{nameSpace}"
			var="entityListLink"></s:url>
		<button type='button' class="btn1"
			onClick="location='${entityListLink}';">
			<s:property value="%{getText('common.text.back')}" />
		</button>
		<!-- <button type='button' class="btn1" onClick="location='content_list.php?cid={dede:global.cid/}&mid=<?php echo $cuserLogin->getUserID(); ?>';">我的数据</button>        
        <button type='button' class="btn1" onClick="location='catalog_main.php';">栏目管理</button>
        <button type='button' class="btn1" name='bb1' onClick="location='makehtml_list.php?cid={dede:global.cid/}';">更新列表</button>
        <button type='button' class="btn1" name='bb2' onClick="location='makehtml_archives.php?cid={dede:global.cid/}';">更新数据</button>
        <button type='button' class="btn1" name='bb1' onClick="location='recycling.php?cid={dede:global.cid/}';">文章回收站</button>
         -->
	</div>

	<div>
		<s:form>
			<s:hidden key="user.id"></s:hidden>
			<s:textfield key="user.name" autocomplete="off" />
			<s:textfield key="user.age" autocomplete="off" />
			<s:textfield key="user.username" autocomplete="off" />
			<s:textfield key="user.password" autocomplete="off" />
			<s:radio key="user.gender" list="genderMap" />
			<s:textfield key="user.email" autocomplete="off" />
			<s:textfield key="user.idCard" autocomplete="off" />
			<s:textfield key="user.address" autocomplete="off" />
			<s:textfield key="user.mobilePhone" autocomplete="off" />
			<s:if test="user==null">
				<s:submit key="common.text.save" cssClass="btn1"
					action="%{actionName}!save" namespace="%{nameSpace}" />
			</s:if>
			<s:else>
				<s:submit key="common.text.update" cssClass="btn1"
					action="%{actionName}!update" namespace="%{nameSpace}" />
			</s:else>
		</s:form>
	</div>
</body>
</html>